package ds;

/**
 * TODO
 *
 * @author lefly
 * @version 1.0
 * @classname ListNode
 * @description 单链表数据结构
 * @date 2021/1/25 下午4:39
 */
public class ListNode {
    public int val;
    public ListNode next;

    public ListNode() {
    }

    public ListNode(int val) {
        this.val = val;
    }

    public ListNode(int val, ListNode next) {
        this.val = val;
        this.next = next;
    }

}
